﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ValiVIN
{
    /// <summary>
    /// Interface to assist with VINCheck.
    /// This is for implementing in a high level class that you
    /// don't want to change the inheritance chain for.
    /// Otherwise, use:
    /// 
    /// VINBase class
    /// </summary>
    public interface IVINDetails
    {
        /// <summary>
        /// If this is a Valid Vin
        ///  ( - VINCheck will set this - )
        /// </summary>
        bool Valid { get; set; }

        /// <summary>
        /// The Vehicle Identification Number
        /// </summary>
        string VIN { get; set; }

        /// <summary>
        /// Country of Origin
        /// ( - VINCheck will set this - )
        /// </summary>
        string Country { get; set; }

        /// <summary>
        /// Manufacturer
        ///  ( - VINCheck will set this - )
        /// </summary>
        string Manufacturer { get; set; }

        /// <summary>
        /// Region
        /// ( - VINCheck will set this - )
        /// </summary>
        string Region { get; set; }

        /// <summary>
        /// The First Possible Year of the vehicle. 
        /// 0 if none.
        ///  ( - VINCheck will set this - )
        /// </summary>
        int Year1 { get; set; }

        /// <summary>
        /// The Second Possible Year of the vehicle. 
        /// 0 if none.
        ///  ( - VINCheck will set this - )
        /// </summary>
        int Year2 { get; set; }
    }
}
